﻿using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;

namespace IMIForUnity
{
    /// <summary>
    /// 用户骨骼跟踪模式
    /// </summary>
    public enum UserTrackingMode{
        CLOSEST = 0, //优先跟踪最近的玩家
        //WAVE, //跟踪挥手的玩家, not supported now
    }

    public enum PlayerControlMode
    {
        GESTURE, //平举姿势玩家获得控制权
        NEAR, //较近的玩家获得控制权
        LEFT, //左侧玩家获得控制权
        CUSTOM, //用户自定义玩家控制权
    }

    [StructLayout(LayoutKind.Sequential,CharSet = CharSet.Ansi)]
    public struct ImiDeviceInfo
    {
        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)]
        public string serialNum;
    }


}